package com.lbn.baseframe.mvp;

import rx.Observable;
import rx.Subscriber;

/**
 * @author 李炳南
 * @date 2017/2/8
 */
public interface IPresenter<V extends IMvp> {

    V getView();

    void attachView(V view);

    void destroy();

    void over();

    void subscribeNetwork(Observable observable, Subscriber subscriber, Observable.Transformer transformer);

    void subscribeNetwork(Observable observable,Subscriber subscriber);
}
